package com.hyx.api.mapper;

import com.hyx.api.domain.vo.ShopOrderListVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.hyx.api.domain.SpreadOrder;
import com.hyx.api.domain.vo.SpreadOrderVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 追差订单Mapper接口
 *
 * @author HK
 * @date 2023-10-26
 */
public interface SpreadOrderMapper extends BaseMapperPlus<SpreadOrder, SpreadOrderVo> {

    List<ShopOrderListVo> querySpreadOrderList(@Param("status") Integer status,
                                               @Param("recoverBusId") Integer recoverBusId,
                                               @Param("startAmount") BigDecimal startAmount,
                                               @Param("endAmount") BigDecimal endAmount,
                                               @Param("keyword") String keyword,
                                               @Param("shopId") Long shopId,
                                               @Param("userId") Long userId,
                                               @Param("companyId") Long companyId);

}

